package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 加钟服务项目表
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:07
 */
@Getter
@Setter
@TableName("t_clock_item")
@ApiModel(value = "ClockItem对象", description = "加钟服务项目表")
public class ClockItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("加钟服务项目ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("项目名称")
    @TableField("item_name")
    private String itemName;

    @ApiModelProperty("项目主图")
    @TableField("item_main_picture")
    private String itemMainPicture;

    @ApiModelProperty("项目轮播图")
    @TableField("item_banner")
    private String itemBanner;

    @ApiModelProperty("项目时长（分钟）")
    @TableField("item_time")
    private Integer itemTime;

    @ApiModelProperty("项目简介")
    @TableField("item_introduction")
    private String itemIntroduction;

    @ApiModelProperty("项目特色")
    @TableField("item_features")
    private String itemFeatures;

    @ApiModelProperty("项目描述")
    @TableField("item_description")
    private String itemDescription;

    @ApiModelProperty("购买量（实际）（90天已售量）")
    @TableField("real_sales_count")
    private Integer realSalesCount;

    @ApiModelProperty("购买量（虚拟）（90天已售量）")
    @TableField("virtual_sales_count")
    private Integer virtualSalesCount;

    @ApiModelProperty("技师id（使用英文逗号拼接）")
    @TableField("tid")
    private String tid;

    @ApiModelProperty("项目价格")
    @TableField("item_Price")
    private BigDecimal itemPrice;

    @ApiModelProperty("项目会员价")
    @TableField("item_member_price")
    private BigDecimal itemMemberPrice;

    @ApiModelProperty("是否上架（0=不上架）")
    @TableField("is_shelves")
    private Integer isShelves;

    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
